<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>猫头鹰</title>
  <!-- lqpcss -->
  <link rel="stylesheet" href="../../dist/css/lqp.css">
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
  <!-- Navbar -->
  <nav class="main-header navbar navbar-expand navbar-white navbar-light">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
      </li>
      <li class="nav-item d-none d-sm-inline-block">
        <a href="../../index3.html" class="nav-link">Home</a>
      </li>
      <li class="nav-item d-none d-sm-inline-block">
        <a href="#" class="nav-link">Contact</a>
      </li>
    </ul>

    <!-- SEARCH FORM -->
    <form class="form-inline ml-3">
      <div class="input-group input-group-sm">
        <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
        <div class="input-group-append">
          <button class="btn btn-navbar" type="submit">
            <i class="fas fa-search"></i>
          </button>
        </div>
      </div>
    </form>

    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">
      <!-- Messages Dropdown Menu -->
      <li class="nav-item dropdown">
        <a class="nav-link" data-toggle="dropdown" href="#">
          <i class="far fa-comments"></i>
          <span class="badge badge-danger navbar-badge">3</span>
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="../../dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  Brad Diesel
                  <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">Call me whenever you can...</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="../../dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  John Pierce
                  <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">I got your message bro</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="../../dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  Nora Silvester
                  <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">The subject goes here</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
        </div>
      </li>
      <!-- Notifications Dropdown Menu -->
      <li class="nav-item dropdown">
        <a class="nav-link" data-toggle="dropdown" href="#">
          <i class="far fa-bell"></i>
          <span class="badge badge-warning navbar-badge">15</span>
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
          <span class="dropdown-item dropdown-header">15 Notifications</span>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-envelope mr-2"></i> 4 new messages
            <span class="float-right text-muted text-sm">3 mins</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-users mr-2"></i> 8 friend requests
            <span class="float-right text-muted text-sm">12 hours</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-file mr-2"></i> 3 new reports
            <span class="float-right text-muted text-sm">2 days</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
        </div>
      </li>
      <li class="nav-item">
        <a class="nav-link" data-widget="fullscreen" href="#" role="button">
          <i class="fas fa-expand-arrows-alt"></i>
        </a>
      </li>
      <li class="nav-item">
        <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
          <i class="fas fa-th-large"></i>
        </a>
      </li>
    </ul>
  </nav>
  <!-- /.navbar -->

  <!-- 侧边栏 -->
  <aside class="main-sidebar sidebar-light-white elevation-4">
    <!-- Brand Logo -->
    <a href="index3.html" class="brand-link">
      <img src="dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
           style="opacity: .8">
      <span class="brand-text font-weight-light">logo</span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar">
      <!-- Sidebar user panel (optional) -->
      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="image">
          <img src="dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
        </div>
        <div class="info">
          <a href="#" class="d-block">管理员</a>
          <span class="rounded-circle bg-info l-circle"></span><span>在线</span>
        </div>
      </div>

      <!-- SidebarSearch Form -->
      <div class="form-inline">
        <div class="input-group" data-widget="sidebar-search">
          <input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
          <div class="input-group-append">
            <button class="btn btn-sidebar">
              <i class="fas fa-search fa-fw"></i>
            </button>
          </div>
        </div>
      </div>
      <div class="nav-item">

        <a href="../../index.html" class="nav-link active">
          <p>控制台<span class="badge badge-info right">6</span></p>
        </a>

      </div>
      <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
          <!--  试题管理 -->
          <li class="nav-item menu-open">
            <a href="#" class="nav-link active">
              <i class="nav-icon fas fa-tachometer-alt"></i>
              <p>
                试题管理
                <i class="right fas fa-angle-left"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="./radio.html" class="nav-link active">
                  <i class="far fa-circle nav-icon"></i>
                  <p>单选题</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="./multiplechoice.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>多选题</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="./judge.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>判断题</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="./completion.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>填空题</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="./QandA.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>问答题</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="./understanding.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>理解题</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="./other.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>其它题</p>
                </a>
              </li>
            </ul>
          </li>
          <!--          考试管理-->
          <li class="nav-item">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-copy"></i>
              <p>
                考试管理
                <i class="fas fa-angle-left right"></i>
                <span class="badge badge-info right">6</span>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="pages/test/testpaper.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>试卷管理</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/layout/top-nav-sidebar.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>发布考试</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/layout/fixed-sidebar.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>考卷管理</p>
                </a>
              </li>
            </ul>
          </li>
          <!--          练习管理-->
          <li class="nav-item">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-chart-pie"></i>
              <p>
                练习管理
                <i class="right fas fa-angle-left"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="pages/charts/chartjs.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>发布练习</p>
                </a>
              </li>
            </ul>
          </li>
          <!--          证书管理-->
          <li class="nav-item">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-tree"></i>
              <p>
                证书管理
                <i class="fas fa-angle-left right"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="pages/UI/general.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>添加证书</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/UI/icons.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>发放记录</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/UI/buttons.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>添加模板</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/UI/sliders.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>模板管理</p>
                </a>
              </li>
            </ul>
          </li>
          <!--          用户管理-->
          <li class="nav-item">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-edit"></i>
              <p>
                用户管理
                <i class="fas fa-angle-left right"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="pages/forms/general.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>部门人员</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/forms/advanced.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>部门管理</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/forms/editors.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>人员分析</p>
                </a>
              </li>
            </ul>
          </li>
          <!--          公告管理-->
          <li class="nav-item">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-table"></i>
              <p>
                公告管理
                <i class="fas fa-angle-left right"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="pages/tables/simple.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>发布公告</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/tables/data.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>公告管理</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/tables/jsgrid.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>发布信息</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/tables/jsgrid.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>信息管理</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/tables/jsgrid.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>发布新闻</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/tables/jsgrid.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>新闻管理</p>
                </a>
              </li>
            </ul>
          </li>
          <!--         统计分析-->
          <li class="nav-item">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-table"></i>
              <p>
                统计分析
                <i class="fas fa-angle-left right"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="pages/tables/simple.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p> 成绩分析</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="pages/tables/data.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>试题分析</p>
                </a>
              </li>

            </ul>
          </li>
        </ul>
      </nav>
    </div>
  </aside>

  <div class="content-wrapper">
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><i class="fa fa-map-marker text-info pr-3 pt-2" aria-hidden="true"></i><span>位置：任务安排</span>
              </li>
            </ol>
          </div>
        </div>
      </div>
    </section>
    <section class="content">
      <div class="container-fluid">
                <div class="row">
                  <div class="col-lg-3 col-6">
                    <!-- small box -->
                    <div class="small-box bg-info">
                      <div class="inner">
                        <h3>150</h3>

                        <p>任务总数</p>
                      </div>
                      <div class="icon">
                        <i class="ion ion-bag"></i>
                      </div>
                    </div>
                  </div>
                  <!-- ./col -->
                  <div class="col-lg-3 col-6">
                    <!-- small box -->
                    <div class="small-box bg-success">
                      <div class="inner">
                        <h3>53<sup style="font-size: 20px">%</sup></h3>

                        <p>考试任务</p>
                      </div>
                      <div class="icon">
                        <i class="ion ion-stats-bars"></i>
                      </div>
                    </div>
                  </div>
                  <!-- ./col -->
                  <div class="col-lg-3 col-6">
                    <!-- small box -->
                    <div class="small-box bg-warning">
                      <div class="inner">
                        <h3>44</h3>

                        <p>练习任务</p>
                      </div>
                      <div class="icon">
                        <i class="ion ion-person-add"></i>
                      </div>
                    </div>
                  </div>
                  <!-- ./col -->
                  <div class="col-lg-3 col-6">
                    <!-- small box -->
                    <div class="small-box bg-danger">
                      <div class="inner">
                        <h3>65</h3>

                        <p>练习任务</p>
                      </div>
                      <div class="icon">
                        <i class="ion ion-pie-graph"></i>
                      </div>
                    </div>
                  </div>
                  <!-- ./col -->
                </div>

                <div class="row">
                  <div class="col-lg-7 col-7">
                    <div class="card ">
                      <div class="card-header">
                        <h1 class="card-title">新增任务</h1>
                      </div>
                      <div class="card-body">
                        <div class="row">
                          <div class="col-6">
                            <div class="small-box">
                              <div class="inner text-center l-textshadaowbox l-infoshadaowbox">
                                <h1 class="text-info text-bold l-textshadaow">100</h1>
                                <p>本周新增任务数</p>
                              </div>
                              <div class="icon">
                                <i class="ion ion-pie-graph"></i>
                              </div>
                            </div>
                          </div>
                          <div class="col-6">
                            <div class="small-box">
                              <div class="inner text-center l-textshadaowbox l-successshadaowbox">
                                <h1 class="text-success text-bold l-textshadaow">60</h1>
                                <p>本月新增任务数</p>
                              </div>
                              <div class="icon">
                                <i class="ion ion-pie-graph"></i>
                              </div>
                            </div>
                          </div>

                        </div>
                      </div>
                    </div>
                  </div>
                  <!--          右边  快捷操作-->
                  <div class="col-lg-5 col-5">
                    <div class="card">
                      <div class="card-header">
                        <h1 class="card-title">快捷操作</h1>
                      </div>
                      <div class="card-body">
                        <div class="row justify-content-around">

                          <div class="col-4 l-scale">
                            <a href="./createdtask.html" class="text-light">
                            <div class="small-box bg-info">
                              <div class="inner text-center">
                                <h1><i class="fa fa-plus-square pl-1" aria-hidden="true"></i></h1>
                                <p>创建任务</p>
                              </div>
                              <div class="icon">
                                <i class="ion ion-pie-graph"></i>
                              </div>
                            </div>
                          </a>
                          </div>

                          <div class="col-4 l-scale">
                            <div class="small-box bg-info">
                              <div class="inner text-center">
                                <h1><i class="fa fa-arrow-circle-up pl-1" aria-hidden="true"></i></h1>
                                <p>导出任务</p>
                              </div>
                              <div class="icon">
                                <i class="ion ion-pie-graph"></i>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>


                <div class="row">
                  <div class="col-md-2">
                    <div class="card card-info card-outline">
                      <div class="card-header py-2 border-bottom-0">
                        <div class="row">
                          <div class="col">
                            <div class="input-group input-group-sm">
                              <input type="text" class="form-control" placeholder="搜索分类">
                              <div class="input-group-append">
                                <div class="btn btn-info">
                                  <i class="fas fa-search pl-2"></i>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <!-- ./card-header -->
                      <div class="card-body px-0 pt-0">
                        <table class="table table-hover">
                          <tbody>
                          <tr data-widget="expandable-table" aria-expanded="true">
                            <td>
                              <i class="fas fa-caret-right fa-fw"></i>
                              任务分类
                            </td>
                          </tr>
                          <tr class="expandable-body">
                            <td>
                              <div class="p-0">
                                <table class="table table-hover">
                                  <tbody>
                                  <tr data-widget="expandable-table" aria-expanded="false">
                                    <td>
                                      <i class="fas fa-caret-right fa-fw"></i>
                                      新建任务分类
                                    </td>
                                  </tr>
                                  <tr class="expandable-body d-none">
                                    <td>
                                      <div class="p-0" style="display: none;">
                                        <table class="table table-hover">
                                          <tbody>
                                          <tr>
                                            <td><a href="#" class="text-black">新建单选题分类-1</a></td>
                                          </tr>
                                          <tr>
                                            <td>新建单选题分类-2</td>
                                          </tr>
                                          <tr>
                                            <td>新建单选题分类-3</td>
                                          </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                    </td>
                                  </tr>
                                  <tr data-widget="expandable-table" aria-expanded="false">
                                    <td>
                                      <i class="fas fa-caret-right fa-fw"></i>
                                      多选题分类
                                    </td>
                                  </tr>
                                  <tr class="expandable-body d-none">
                                    <td>
                                      <div class="p-0" style="display: none;">
                                        <table class="table table-hover">
                                          <tbody>
                                          <tr>
                                            <td>新建单选题分类-1</td>
                                          </tr>
                                          <tr>
                                            <td>新建单选题分类-2</td>
                                          </tr>
                                          <tr>
                                            <td>新建单选题分类-3</td>
                                          </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                    </td>
                                  </tr>
                                  </tbody>
                                </table>
                              </div>
                            </td>
                          </tr>
                          </tbody>
                        </table>
                      </div>
                      <!-- /.card-body -->
                    </div>
                    <!-- /.card -->
                  </div>
                  <div class="col-md-10">
                    <div class="card card-outline card-info">
                      <div class="card-header">
                        <div class="card-tools">
                          <div class="input-group input-group-sm">
                            <input type="text" class="form-control" placeholder="请输入题目名称">
                            <div class="input-group-append">
                              <div class="btn btn-info">
                                <i class="fas fa-search pl-2"></i>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="card-body p-0">
                        <div class="mailbox-controls">
                          <!-- Check all button -->
                          <button type="button" class="btn btn-default btn-sm checkbox-toggle">
                            <i class="far fa-square"></i>
                          </button>
                          <div class="btn-group">

                            <button type="button" class="btn btn-default btn-sm batchdel">
                              <i class="far fa-trash-alt pr-1 text-danger"></i>批量删除
                            </button>

                          </div>

                          <div class="float-right">
                            1-50/200
                            <div class="btn-group">
                              <button type="button" class="btn btn-default btn-sm">
                                <i class="fas fa-chevron-left"></i>
                              </button>
                              <button type="button" class="btn btn-default btn-sm">
                                <i class="fas fa-chevron-right"></i>
                              </button>
                            </div>
                            <!-- /.btn-group -->
                          </div>
                          <!-- /.float-right -->
                        </div>
                        <div class="table-responsive mailbox-messages">
                          <table class="table table-hover lqp-table">
                            <thead>
                            <tr>
                              <th></th>
                              <th>任务名称</th>
                              <th>启用状态</th>
                              <th>任务分类</th>
                              <th>任务性质</th>
                              <th>任务时间</th>
                              <th>创建人</th>
                              <th>创建时间</th>
                              <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr id="tr1">
                              <td>
                                <div class="form-check">
                                  <input type="checkbox" value="0" id="check1" class="form-check-input">
                                  <label for="check1" class="form-check-label"></label>
                                </div>
                              </td>
                              <td class="mailbox-star">10</td>
                              <td class="mailbox-name">单选题</td>
                              <td class="mailbox-subject">选黑还是白</td>
                              <td class="mailbox-attachment">2020-04-04 12：12</td>
                              <td class="mailbox-date">正常</td>
                              <td class="mailbox-subject">选黑还是白</td>
                              <td class="mailbox-attachment">2020-04-04 12：12</td>
                              <td>
                                <button type="button" class="btn btn-success btn-xs text-xs data-edit" data-toggle="modal" data-target="#modal-xl" data-lqp="999">
                                  <i class="fas fa-edit pr-1"></i> 编辑
                                </button>
                                <button type="button" class="btn btn-danger btn-xs text-xs delsingle">
                                  <i class="fa fa-trash pr-1" aria-hidden="true"></i> 删除
                                </button>
                                <a href="./taskinfo.html">
                                  <button type="button" class="btn btn-info btn-xs text-xs" data-toggle="modal" data-target="#modal-xl-info">
                                    <i class="fas fa-eye pr-1"></i> 查看
                                  </button>
                                </a>
                              </td>
                            </tr>

                            </tbody>
                          </table>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>

      </div>
    </section>
  </div>


  <!--  底部-->
  <footer class="main-footer">
    <strong>Copyright &copy; 2014-2020 <a href="">汇邦科技有限公司</a>.</strong>All rights reserved.
  </footer>
  <aside class="control-sidebar control-sidebar-dark">
  </aside>
</div>

<!-- jQuery -->
<script src="../../plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="../../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="../../dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="../../dist/js/demo.js"></script>
<!--全选框-->
<script>
  $(function () {
    //Enable check and uncheck all functionality 批量
    $('.checkbox-toggle').click(function () {
      var clicks = $(this).data('clicks')
      console.log('clicks------------' + clicks)
      if (clicks) {
        //Uncheck all checkboxes
        $('.mailbox-messages input[type=\'checkbox\']').prop('checked', false)
        $('.checkbox-toggle .far.fa-check-square').removeClass('fa-check-square').addClass('fa-square')
      } else {
        //Check all checkboxes
        $('.mailbox-messages input[type=\'checkbox\']').prop('checked', true)
        $('.checkbox-toggle .far.fa-square').removeClass('fa-square').addClass('fa-check-square')
      }
      $(this).data('clicks', !clicks)
    })

    //Handle starring for font awesome 单条
    $('.mailbox-star').click(function (e) {
      e.preventDefault()
      //detect type
      var $this = $(this).find('a > i')
      var fa = $this.hasClass('fa')

      //Switch states
      if (fa) {
        $this.toggleClass('fa-star')
        $this.toggleClass('fa-star-o')
      }
    })
  })
</script>

</body>
</html>
